package com.crowd.vo;

import lombok.*;

/**
 * @author Stone
 * @date 2020/6/22 16:52
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Integer id;
    private String name;

    public static void main(String[] args) {
        User user1 = new User();
        user1.setId(1);
        user1.setName("AA");
        User user2 = new User(2, "BB");
        System.out.println(user1);
        System.out.println(user2.toString());
    }
}
